<!-- <ol class="breadcrumb">
  <li><a href="#">Home</a></li>
  <li><a href="#">Library</a></li>
  <li class="active">Data</li>
</ol> -->

<ul class="nav nav-pills">
  <li role="presentation" class="active"><a href="javascript:void(0)">基本资料</a></li>
  <li role="presentation"><a href="javascript:void(0)">联系方式</a></li>
</ul>
<hr>
<strong><%= notice %></strong>

<%= form_for @store, url: ruiqu_stores_path, html: { class: "form-horizontal" } do |f| %>
  <div class="form-group form-group-lg">
    <%= f.label "公司名称:", class: 'col-sm-2 control-label' %>
    <div class="col-sm-3">
      <%= f.text_field :name, class: 'form-control', placeholder: "请输入公司名称!" %>
    </div>
  </div>
  <%= f.fields_for :store_basic_info do |ff|  %>
    <div class="form-group form-group-lg">
      <%= ff.label '法人代表:', class: 'col-sm-2 control-label' %>
      <div class="col-sm-3">
        <%= ff.text_field :legal_person, class: 'form-control', placeholder: "请输入法人姓名!" %>
      </div>
    </div>

    <div class="form-group form-group-lg">
      <%= ff.label '地址:', class: 'col-sm-2 control-label' %>
      <div class="col-sm-3">
        <%= ff.text_field :address, class: 'form-control', placeholder: "请输入企业地址!" %>
      </div>
    </div>

    <div class="form-group form-group-lg">
      <%= ff.label '启动资金:', class: 'col-sm-2 control-label' %>
      <div class="col-sm-3">
        <%= ff.text_field :register_money, class: 'form-control', placeholder: "请输入注册资金!" %>
      </div>
    </div>

    <div class="form-group form-group-lg">
      <%= ff.label '企业类型:', class: 'col-sm-2 control-label' %>
      <div class="col-sm-3">
        <%= ff.text_field :company_type, class: 'form-control', placeholder: "请输入企业的类型!" %>
      </div>
    </div>

    <div class="form-group form-group-lg">
      <%= ff.label '注册时间:', class: 'col-sm-2 control-label' %>
      <div class="col-sm-3">
        <%= ff.date_field :set_from, class: 'form-control', placeholder: "请输入企业注册时间!" %>
      </div>
    </div>

    <div class="form-group form-group-lg">
      <%= ff.label '主要经营:', class: 'col-sm-2 control-label' %>
      <div class="col-sm-10">
        <%= ff.text_area :main_industry, class: 'form-control input-lg', placeholder: "请输入企业经营产品!" %>
      </div>
    </div>
  <% end %>
    <div class="btn-group" role="group" style="margin-top: 50px;">
      <%= f.submit "下一项", class: 'btn btn-default' %>
    </div>

<% end %>
